import React from 'react';

function Counter () {
  return <div>
    <button onClick = { () => store.dispatch(increment) }>+</button>
    <span>{ store.getState().count }</span>
    <button onClick = { () => store.dispatch(decrement) }>-</button>
  </div>
}

export default Counter